Azure Blob Storage

Blob Storage Overview:

Azure Blob Storage is a scalable object storage solution in Microsoft Azure, designed for storing and managing large amounts of unstructured data.

Key Concepts:

  1. Blob:
  2. Container:
  3. Account:

Blob Storage Configuration Examples:

1. Uploading a Blob using Azure Portal:

  1. Go to the Azure Portal.
  2. Navigate to your Blob Storage account.
  3. Click on "Containers" and create a new container.
  4. Within the container, upload a new blob (file).

2. Uploading a Blob using Azure Storage Explorer:

  1. Download and install Azure Storage Explorer.
  2. Connect to your Blob Storage account.
  3. Create a new container and upload a blob.

3. Uploading a Blob using Azure CLI:

    
az storage blob upload \
  --account-name mystorageaccount \
  --account-key myaccountkey \
  --container-name mycontainer \
  --name myblob \
  --type block \
  --content-type "application/json" \
  --content-encoding "gzip" \
  --content-disposition "attachment; filename=myblob.json" \
  --content-language "en-US" \
  --content-md5
  --source "/path/to/local/file.json"
    
    

4. Listing Blobs using Azure PowerShell:

    
$ctx = New-AzStorageContext -StorageAccountName mystorageaccount -StorageAccountKey myaccountkey
Get-AzStorageBlob -Context $ctx -Container mycontainer